package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 执行人基本信息
 * </p>
 *
 * @author jiayen
 * @since 2021-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("d_certificate_person_info")
@ApiModel(value = "CertificatePersonInfo对象", description = "执行人基本信息 ")
public class CertificatePersonInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "intId", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "执行人名称")
    @TableField("vcName")
    private String name;

    @ApiModelProperty(value = "执行人电话")
    @TableField("vcPhone")
    private String phone;

    @ApiModelProperty(value = "执行人邮箱")
    @TableField("vcEmail")
    private String email;

    @ApiModelProperty(value = "更新时间")
    @TableField("dtUpdateTime")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建时间")
    @TableField("dtCreateTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "0-需求单，1-确认单")
    @TableField("intType")
    private Integer type;


}
